package com.youlu.campus.web.common.base.delay;

import com.youlu.campus.web.group.service.GroupService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zgz
 * @date 2020/10/18 19:31
 */
@Slf4j
@Service
public class CreateGroupDelayHandleService extends DelayHandleBaseService{

    @Autowired
    private GroupService groupService;

    @Override
    protected void run(String content) {
        log.info("run content {}", content);
        groupService.handleGroupProbation(content);
    }

}
